<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>扩展panel</title>
<link type="text/css" rel="stylesheet" href="styles/shCoreDefault.css" />
<link type="text/css" rel="stylesheet" href="../resources/css/css.css" />

<script src="../../boot.js"></script>
</head>

<body>
<div class="pd10">
    <h3>jQuery Eayui toolbar 功能扩展</h3>
    <h4>用法</h4>
    <p>
        以下为示例代码 <textarea name="dp-syntaxhighlighter" class="brush: js; highlight: [2,5]" >
        
        $('#toolbar').toolbar({
        	items:[{
          	text:'',
            iconCls:'',
            handler:function(){
            	//
            }
          }]
        });

        //  关于更多用法，请参见下面 API。
    </textarea>
    </p>
    
    <h4>扩展的方法</h4>
    <p>
        该扩展增加定义了如下方法：
    </p>
    <table class="doc-table">
        <tr>
            <th>Name</th>
            <th>Parameters</th>
            <th>Description</th>
            <th>Returns</th>
        </tr>
        <tr>
            <td>disabled</td>
            <td>text</td>
            <td>禁用指定菜单按钮。<br />
                </td>
            <td></td>
        </tr>
        <tr>
            <td>enable</td>
            <td>text</td>
            <td>启用指定菜单按钮
                </td>
            <td></td>
        </tr>
        <tr>
            <td>disabledALl</td>
            <td></td>
            <td> 禁用所有菜单按钮
                </td>
            <td></td>
        </tr>
        <tr>
            <td>enableAll</td>
            <td></td>
            <td> 启用所有菜单按钮
                </td>
            <td></td>
        </tr>
    </table>
    <br />
</div>

<script type="text/javascript" src="scripts/shCore.js"></script> 
<script type="text/javascript" src="scripts/shBrushJScript.js"></script> 
<script type="text/javascript" src="scripts/shBrushXml.js"></script> 
<script type="text/javascript">
SyntaxHighlighter.config.tagName = "textarea";
SyntaxHighlighter.all();
</script>
</body>
</html>
